package com.study.c2;

import java.util.Scanner;

public class ConditionDemo
{
    public static void main(String[] args)
    {
        Scanner scanner = new Scanner(System.in);
        int age = scanner.nextInt();
        if (age < 20) {
            System.out.println("输入的年龄是小孩");
        } else if (age < 40) {
            System.out.println("输入的年龄是大人");
        } else {
            System.out.println("输入的年龄是老人家");
        }
    }
}
